#pragma once
#include <Windows.h>
#include <TlHelp32.h>
#include <vector>

struct PROCESSMODULEINFO
{
    MODULEENTRY32 me;
};
class CProcessModuleEnum
{
public:
    CProcessModuleEnum();
    ~CProcessModuleEnum();
public:
    UINT EnumAll( DWORD dwPID );
    PROCESSMODULEINFO* GetAt( UINT uIndex );
protected:
    void Clear();
private:
    std::vector<PROCESSMODULEINFO*> m_vecProcessModule;
};